using Domain.Base;
using DtoFw.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Domain.Entity {

    [SugarTable("warn_environment")]
    [DB(EnumDatabase.Mysql, Cache = false)]
	public partial class WarnEnvironmentEntity: BaseEntity 
	{

		/// <summary>
		/// 类型 环境异常（通用类型：5 6 7 8 9）
		/// </summary>
		[SugarColumn(ColumnName = "Mold")]
		public int? Mold { get; set; }

		/// <summary>
		/// 单位ID
		/// </summary>
		[SugarColumn(ColumnName = "OrganId")]
		public long OrganId { get; set; }

		/// <summary>
		/// 单位
		/// </summary>
		[SugarColumn(ColumnName = "OrganName")]
		public string OrganName { get; set; } = string.Empty;

		/// <summary>
		/// 来源描述
		/// </summary>
		[SugarColumn(ColumnName = "Source")]
		public string Source { get; set; } = string.Empty;

		/// <summary>
		/// 传感器
		/// </summary>
		[SugarColumn(ColumnName = "SourceKey")]
		public string SourceKey { get; set; } = string.Empty;

		/// <summary>
		/// 单位
		/// </summary>
		[SugarColumn(ColumnName = "Unit")]
		public string Unit { get; set; } = string.Empty;

		/// <summary>
		/// 值
		/// </summary>
		[SugarColumn(ColumnName = "ValInfo")]
		public string ValInfo { get; set; } = string.Empty;
        /// <summary>
        /// 区划编号
        /// </summary>
        [SugarColumn(ColumnName = "ComNo")]
        public string ComNo { get; set; } = string.Empty;
        /// <summary>
        /// 区域
        /// </summary>
        [SugarColumn(ColumnName = "Area")]
		public string Area { get; set; } = string.Empty;

	}

}
